/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package conduitevoiture;

import java.awt.Graphics;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author test
 */
public class Terrain extends JPanel {
	
	private Image texture;
	
	public Terrain(){
		//texture = cheminTexture;
	}
	
	public void Paint(Graphics g){
		texture = new ImageIcon(getClass().getResource("/Ressources/images.jpg")).getImage();
		g.drawImage(texture, 0, 0, 800, 800, this);
	}
}
